#ifndef	DESATURATEFILTER_H
#define DESATURATEFILTER_H

#include "Image.h"
#include "ImageFilter.h"

class DesaturateFilter : public ImageFilter
{
public:
	DesaturateFilter(void);
	~DesaturateFilter(void);

	bool apply(Image& pImage);

private:
	struct threadDimension
	{
		int width;
		int height;
		int yStartPoint;
		int xStartPoint;
		Image* pImage;
	};
	static DWORD WINAPI threadFilter(void* params);
};

#endif
